﻿<?php
error_reporting(0);
define('IN_QY',true);
session_start();
require("include/common.inc.php");
define('SCRIPT','ad_list');
if(!$_COOKIE['userid']){
      echo "<script type='text/javascript'>location.href='/wap/mlogin.php';</script>";
      exit;
}
$sqlu = "select * from tbl_user where id=".$_COOKIE['userid'];
$queryu=mysql_query($sqlu);
$rowu=mysql_fetch_array($queryu);
$jifen = $rowu['jifen'];
$yuee = $rowu['yuee'];
$xyf = $rowu['xyf'];
$vip = $rowu['vip'];
$touxiang = $rowu['username'];
$sqla = "select count(*) as cc from tbl_spp where userid='".$_COOKIE['username']."'";
$querya=mysql_query($sqla);
$rowa=mysql_fetch_array($querya);
$s = $rowa['cc'];

//用户数据查询开始
$sqlm = "select * from tbl_tutu where userid=".$_COOKIE['username'];
$querym=mysql_query($sqlm);
$rowm=mysql_fetch_array($querym);
$gxqm=$rowm['content'];
?>
<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title><?=$_COOKIE['shuyu']?>/积分-众晒网</title>
    <link href="/ui/css/Hui.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        #header{width:100%; position:absolute; top:0;}
        #footer{width:100%; position:absolute; bottom:0;}
         #main{width:100%; overflow: auto; position:absolute; top:44px;bottom:55px;background:white;}
    </style>
</head>
<body>
    <header class="H-header H-theme-background-color-white" id="header">
        <span tapmode="" class="H-icon H-position-relative H-display-inline-block H-float-left H-vertical-middle H-theme-font-color-white H-padding-horizontal-left-5 H-z-index-100" onclick="H.closeWin();"><i class="H-iconfont H-icon-arrow-left H-font-size-18 H-theme-font-color-black  H-vertical-middle"></i></span>
        <div class="H-header-title H-center-all H-font-size-18 H-text-show-row-1 H-theme-font-color-black H-position-absolute H-width-100-percent">
            积分中心
        </div>
        <span tapmode="" class="H-icon H-position-relative H-display-inline-block H-float-right H-vertical-middle H-theme-font-color-white H-padding-horizontal-right-8 H-z-index-100" onclick="H.openWin('add_head','add_head.html')"></span>
    </header>

    <div id="main">
	<!--------
        <div class="H-theme-background-color4-active  H-horizontal-center  H-overflow-hidden" style="min-height: 180px;background-image: url(/ui/image/back.png); background-size:100% 100%;H-theme-background-color4-active H-padding-10 H-margin-horizontal-both-10 H-margin-vertical-both-5 H-box-sizing-border-box">
        <div class="H-overflow-hidden H-max-width-100-percent H-padding-horizontal-both-10 H-box-sizing-border-box">
            <div class="picture H-position-relative  H-margin-horizontal-auto" style="width: 96px; height: 96px;"><span class="H-icon H-display-block H-position-absolute H-center-all H-border-radius-circle H-z-index-1000 H-line-height-0" style="height: 20px; width: 20px; bottom: 5px; right: 5px; ">
        <?php if($rowu['viplevel']!=0){?>
            <img src="/ui/image/vip.png" alt="" style="width: 25px;height: 25px;">
        <?php } ?>             </span><img src="<?=$touxiang?>" class="H-display-block H-border-radius-circle" alt="" title="" style="width: 90px; height: 90px; border:3px solid rgba(255,255,255,0.3);" /></div>
            <strong class="H-display-block H-font-weight-normal H-font-weight-500 H-font-size-18 H-theme-font-color-white H-text-align-center H-margin-vertical-both-8"><?=$_COOKIE['shuyu']?></strong>
            <div class="H-font-size-12 H-theme-font-color-white H-text-show-row-1"><?=$gxqm?></div>
        </div>
    </div>

<div class="H-text-align-center" style="display: flex;align-items: center;justify-content: center;"><img  style="width: 20px;height: 20px;margin-top: 5px;margin-bottom: 5px;" src="/ui/image/消息管理.png" alt=""> &nbsp;积分<span class="H-icon H-display-inline-block H-padding-horizontal-both-5">  </span></div>

------->
  <div class="H-padding-vertical-bottom-10"></div>
<div class="H-n-grid H-border-vertical-top-after H-clear-both  H-overflow-auto">
        <div class="H-clear-both H-width-100-percent H-display-table H-box-sizing-border-box" >
            <div class="H-display-table-cell H-float-left H-box-sizing-border-box H-width-avg-3 H-center-all H-theme-background-color-white H-border-horizontal-right-after H-border-vertical-bottom-after H-padding-vertical-both-10" style="min-height: 130px;">
                <div onclick="H.openWin('lipingduihuan', 'lipingduihuan.php');">
                    <span class="H-icon H-display-block H-horizontal-center">
                    <img   style="width: 33px;height: 33px" src="/ui/image/积分兑换礼品.png" alt=""></span>
                    <label class="H-display-block H-font-size-13">积分兑换礼品</label>
                </div>
            </div>

            <div class="H-display-table-cell H-float-left H-box-sizing-border-box H-width-avg-3 H-center-all H-theme-background-color-white H-border-vertical-bottom-after H-padding-vertical-both-10" style="min-height: 130px;">
                <div onclick="H.openWin('jifen4', 'jifen4.php');">
                    <span class="H-icon H-display-block H-horizontal-center"><img   style="width: 33px;height: 33px" src="/ui/image/积分兑换vip.png" alt=""></span>
                    <label class="H-display-block H-font-size-13">积分兑换VIP</label>
                </div>
            </div>

			<!------
            <div class="H-display-table-cell H-float-left H-box-sizing-border-box H-width-avg-3 H-center-all H-theme-background-color-white H-border-vertical-bottom-after H-padding-vertical-both-10" style="min-height: 130px;">
                <div onclick="H.openWin('jifen2', 'jifen2.php');">
                    <span class="H-icon H-display-block H-horizontal-center"><img  style="width: 25px;height: 25px" src="/ui/image/添加司机.png" alt=""></span>
                    <label class="H-display-block H-font-size-13">积分兑换现金</label>
                </div>
            </div>

			---->

            <div class="H-display-table-cell H-float-left H-box-sizing-border-box H-width-avg-3 H-center-all H-theme-background-color-white H-border-vertical-bottom-after H-padding-vertical-both-10" style="min-height: 130px;">
                <div onclick="H.openWin('jifenmx', 'jifenmx.php');">
                    <span class="H-icon H-display-block H-horizontal-center"><img   style="width: 33px;height: 33px" src="/ui/image/积分明细.png" alt=""></span>
                    <label class="H-display-block H-font-size-13">积分明细</label>
                </div>
            </div>

            <div class="H-display-table-cell H-float-left H-box-sizing-border-box H-width-avg-3 H-center-all H-theme-background-color-white H-border-vertical-bottom-after H-padding-vertical-both-10" style="min-height: 130px;">
                <div onclick="H.openWin('lipindsh', 'lipindsh.php');">
                    <span class="H-icon H-display-block H-horizontal-center"><img  style="width: 33px;height: 33px" src="/ui/image/礼品订单.png" alt=""></span>
                    <label class="H-display-block H-font-size-13">礼品订单</label>
                </div>
            </div>
        </div>
    </div>
    </div>




   <?include('footer.php');?>

    <script src="/ui/script/H.js" type="text/javascript"></script>
</body>
</html>